<template>
  <div class="login-container">
    <el-form
      :model="loginForm"
      :rules="loginRules"
      ref="loginForm"
      class="demo-ruleForm"
    >
      <svg-icon icon="https://res.lgdsunday.club/user.svg" className="tt"></svg-icon>
      <div class="title-container">
        <h3 class="title">用户登录</h3>
      </div>
      <el-form-item prop="username">
        <el-input v-model="loginForm.username"></el-input>
      </el-form-item>
      <el-form-item prop="password">
        <el-input v-model="loginForm.password"></el-input>
      </el-form-item>
      <el-button type="primary" style="width: 100%">登录</el-button>
    </el-form>
  </div>
</template>

<script>
import SvgIcon from "@/components/svgIcon/index.vue";
export default {
  components: {
      SvgIcon
  },
  data() {
    return {
      loginForm: {
        username: "",
        password: "",
      },
      loginRules: {},
    };
  },
  mounted() {},
  methods: {},
};
</script>

<style scoped lang='scss'>
</style>
